#include "gesturestudy_cpp.h"
#include "qpadwidget.h"
#include <QtGui/QApplication>
#include "NeuralNet.h"
#include <QTextCodec>

int main(int argc, char *argv[])
{
	QApplication a(argc, argv);

	QCoreApplication::addLibraryPath(QCoreApplication::applicationDirPath()+"/plugins");
	QTextCodec::setCodecForTr(QTextCodec::codecForName("GB2312")); 

	GestureStudy_cpp w;
	QPadWidget padWidget;
	w.setCentralWidget(&padWidget);

	QObject::connect(&padWidget, SIGNAL(mouseReleaseEmit()), &w, SLOT(refreshNet()));
	w.show();
	return a.exec();
}
